package com.atlige.gzmall.coupon;

import com.alibaba.nacos.api.config.annotation.NacosConfigListener;
import com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

@MapperScan("com.atlige.gzmall.coupon.dao")
@SpringBootApplication
@EnableDiscoveryClient
@NacosConfigurationProperties(dataId = "gzmall-coupon.properties", autoRefreshed = true)
public class GzmallCouponApplication {

    public static void main(String[] args) {
        SpringApplication.run(GzmallCouponApplication.class, args);
    }

}
